Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: autoplay successive live photos #1350

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

jovanbulck
Copy link
Contributor

This PR fixes a small issue encountered when autoplaying + auto-repeating a series of successive live photos in the image viewer.

For some reason, not sure why, this.liveState.playing remembers the state of the previous image. Thus, when switching between successive live photos, every second photo get incorrectly paused instead of played on load.

Using the builtin video.paused attribute seems to fix this.

@pulsejet pulsejet merged commit d9701c9 into pulsejet:master Nov 20, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants